#pragma once
#include "afxwin.h"
#include "InclusionDlgOffset.h"

// DlgUV dialog

class DlgUV : public CDialog
{
	DECLARE_DYNAMIC(DlgUV)

public:
	DlgUV(CWnd* pParent = NULL);   // standard constructor
	virtual ~DlgUV();

// Dialog Data
	enum { IDD = IDD_UV_PROP_PAGE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedCbUvAreaFront();
	afx_msg void OnBnClickedCbUvAreaBack();
	afx_msg void OnBnClickedCbUvImageFront();
	afx_msg void OnBnClickedCbUvImageBack();
	afx_msg void OnBnClickedPbUvImageFront();
	afx_msg void OnBnClickedPbUvImageBack();
	CEdit m_control_EF_IMAGE_FRONT;
	CEdit m_control_EF_IMAGE_BACK;

public:
	CString m_Bitmap_Front_Path;
	CString m_Bitmap_Back_Path;

	void Show_Picture(CString &, CStatic &); 
	CStatic m_IDC_PIC_UV_IMAGE_FRONT;
	CStatic m_IDC_PIC_UV_IMAGE_BACK;
	afx_msg void OnPaint();
	
	afx_msg void OnStnClickedPicUvAreaFront();

	
	virtual BOOL OnInitDialog();

private:
	// storage for exclusion areas
	nsExclusionStatic2::SEXCLUSIONAREAS Areas_[ 1 ][ nsExclusionStatic2::esSides ];	
	CInclusionDlgOffset *m_pDlgInclusion;
};
